package pikes.ecma;

public class Substraction extends PrintableExpression implements IAdditiveExpression {

	private IAdditiveExpression first = null;

	private IMultiplicativeExpression second = null;

	public Substraction(IAdditiveExpression first, IMultiplicativeExpression second) {
		super();
		this.first = first;
		this.second = second;
	}

	public void visit(SyntaxTreeVisitor syntaxTreeVisitor) throws EcmaSyntaxVisitingException {
		first.visit(syntaxTreeVisitor);
		syntaxTreeVisitor.binaryOperator("-");
		second.visit(syntaxTreeVisitor);
	}

}
